import { defineConfig } from 'vitest/config'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  plugins: [vue()],
  resolve: {
    alias: {
      '@': '/src',
    },
  },
  test: {
    environment: 'jsdom',
    testNamePattern: '*.test.[js,ts]',
    dir: 'tests',
    server: {
      deps: {
        inline: ['vuetify'],
      },
    },
  },
})
